package com.example.demo.javatest.thread;

import java.util.concurrent.Callable;

/**
 * Created by liujiahao on 2019/4/18.
 */
public class MyThread3 implements Callable{

    @Override
    public Object call() throws Exception {
        return 1;
    }

    public static void main(String[] args) throws Exception {
        MyThread3 thread3=new MyThread3();
        System.out.println(thread3.call());
    }
}
